package org.fightingliu.demo.repository.es.repository;

import org.fightingliu.demo.repository.es.entity.User;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : LiuChao
 * @description : TODO
 * @date : 2025-04-13 18:32:25
 */
@Repository
public interface UserRepository extends ElasticsearchRepository<User,String> {
    User queryUserByUserId(String userId);

    void deleteUserByUserId(String userId);
}
